<?php

declare (strict_types=1);
namespace App\Model;

use Hyperf\DbConnection\Model\Model;
/**
 * @property int $id 
 * @property int $task_id 所属任务id
 * @property int $status 状态；1启用 0禁用
 * @property int $create_time 添加时间
 * @property \Carbon\Carbon $created_at 添加日期
 * @property \Carbon\Carbon $updated_at 更新日期
 * @property int $restrict_status 账号封禁状态0初始 1永久 2暂时 3未知
 * @property string $restrict_content 封禁原因
 * @property int $account_id 服务账号id
 */
class TaskAccount extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'task_account';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['id', 'task_id', 'status', 'create_time', 'created_at', 'updated_at', 'restrict_status', 'restrict_content', 'account_id'];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'task_id' => 'integer', 'status' => 'integer', 'create_time' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'restrict_status' => 'integer', 'account_id' => 'integer'];
}